<template>
    <h2>我是About的内容</h2>
</template>

<script>
export default {
    name: 'About',
    beforeDestroy() {
        console.log('About组件即将销毁')
    },
    mounted() {
        console.log('About组件已挂载', this);
        window.aboutRoute = this.$route;
        window.aboutRouter = this.$router;
    }

}
</script>
